module.exports = {
    plugins: {
        'postcss-preset-mantine': {},
        'postcss-simple-vars': {
            variables: {
                'mantine-breakpoint-xs': '36em',
                'mantine-breakpoint-sm': '48em',
                'mantine-breakpoint-md': '62em',
                'mantine-breakpoint-lg': '75em',
                'mantine-breakpoint-xl': '88em',
            },
        },
        'postcss-plugin-px2rem': {
            rootValue: 75, // 设计稿宽度除以100
            //exclude: /node_modules|\\spring\\index/i, //屏蔽路径可以
            exclude: /node_modules|^[A-Za-z0-9\/\:]*\\(?!m-)[a-z\/\\.]*less$/,//转换rem只针对 m-XXX.less文件
        },
    },
};
